import redis

HOST = '127.0.0.1'
PORT = 6379
rds = redis.Redis(host=HOST, port=PORT,decode_responses=True)
pool = redis.ConnectionPool(host=HOST, port=PORT)
rds = redis.Redis(connection_pool=pool)